package com.bigfish.gbs.service;


import com.bigfish.gbs.entity.User;

import java.util.List;

/* *
 * @Author Joycessh
 * @Description 
 * @Date 21:14 2018/3/17
 */
public interface UserService {

    String loadAccountRole(String appId);

    List<User> getUserList();

    List<User> getUserListByRoleId(Integer roleId);

    boolean authorityUserRole(String appId, int roleId);

    boolean deleteAuthorityUserRole(String uid, int roleId);

    User getUserByAppId(String appId);

    List<User> getNotAuthorityUserListByRoleId(Integer roleId);

    List<User> getUserListByRoleIdAndName(Integer roleId, String name);

    boolean deleteUserByUserId(String userId);

    boolean updateMember(User user);
}
